import InstallQueue from '@helpers/InstallQueue'
import elementUI from './element-ui'
import Icon from './icon'
import Table from './table'
import TextTooltip from './TextTooltip'
import NoData from './NoData'
import BackButton from './BackButton'
import RuleTable from './RuleTable'
import Count from './Count'
import VirtualTree from './VirtualTree'

const installQueue = new InstallQueue()
installQueue.push(Icon)
installQueue.push(Table)
installQueue.push(TextTooltip)
installQueue.push(NoData)
installQueue.push(BackButton)
installQueue.push(RuleTable)
installQueue.push(Count)
installQueue.push(VirtualTree)

export default {
  mount: () => {
    elementUI.install()
    installQueue.install()
  }
}
